package com.kgis.fm.platform.access.term.service.impl;

import java.util.List;

import com.kgis.aip.platform.access.common.service.impl.AbstractExecutiveAccessServiceImpl;
import com.kgis.fm.platform.access.constant.MetaCacheKeyConst;
import com.kgis.fm.platform.access.term.service.LegendEntryAccessService;
import com.kgis.fm.platform.model.term.LegendEntry;
import com.kgis.kp.cache.Cacheable;

/**
*
* @author Simon He
* @date 2011.12
*/
public class LegendEntryAccessServiceImpl extends AbstractExecutiveAccessServiceImpl<LegendEntry> implements LegendEntryAccessService{

	@Cacheable(MetaCacheKeyConst.LEGENDENTRY)
	public List<LegendEntry> findAll() {
		List<LegendEntry> all = super.findAll();
		return all;
	}

	public LegendEntry findById(long id) {
		throw new RuntimeException("unaccessible function, please ");
	}
	
	public List<LegendEntry> findByIds(long[] ids) {
		return null;
	}

	@Override
	public List<LegendEntry> findByFnoCno(int fno, int cno) {
		throw new RuntimeException("unaccessible function, please ");
	}

}
